n=5
for i in range(n):
    print(' ' * (n-(n-i)) + '*' * (9-2*i))
